﻿using Engine;
using Game;
using Mekiasm.Dust;
using Mekiasm.ToolItems;

namespace Mekiasm
{
    public class MekFlatBlock : MekBlock
    {
        public const int Index = 1006;

        public override void Initialize()
        {
            base.Initialize();
            AddItem(new EnrichedAlloy());
            AddItem(new ReinforcedAlloy());
            AddItem(new AtomicAlloy());

            AddItem(new GraphiteDust());
            AddItem(new SteelDust());
            AddItem(new DiamondDust());
            AddItem(new CoalDust());
            AddItem(new CopperDust());
            AddItem(new IronDust());

            AddItem(new MekCraftBook());
            AddItem(new CopperSpiralCoil());
            AddItem(new BasicControlCircuit());
            AddItem(new AdvancedControlCircuit());
            AddItem(new EliteControlCircuit());
            AddItem(new UltimateControlCircuit());
            AddItem(new IronShell());
            AddItem(new TinShell());
            AddItem(new Paper());

            AddItem(new TinDust());
            AddItem(new SawDust());
            AddItem(new qiancengbing());
            AddItem(new Bellows());
            AddItem(new PortableTeleporter());
            AddItem(new SolarPanelPlate());
            AddItem(new GlassPlate());
            AddItem(new ElectrolyticCore());
            AddItem(new Hohlraum());
            AddItem(new TransmitCore());
            AddItem(new RunicBush());
            AddItem(new MugCoffee());

            AddItem(new IronPlate());
            AddItem(new CopperPlate());
            AddItem(new SteelPlate());
            AddItem(new TinPlate());

            AddItem(new GoldPlate());
            AddItem(new CopperCable());
            AddItem(new InsulatedCopperCable());
            AddItem(new TinCable());
            AddItem(new InsulatedTinCable());

            AddItem(new Resin());
            AddItem(new Rubber());
            AddItem(new ToolBox());
            AddItem(new Coil());
            AddItem(new CopperShell());
            AddItem(new Cropnalyzer());
            AddItem(new Crystal());
            AddItem(new RedStoneDust());
            AddItem(new SkyStoneDust());

            AddItem(new CompressedRedStone());
            AddItem(new CompressedCarbon());
            AddItem(new CompressedDiamond());
            AddItem(new CompressedObsidian());
            AddItem(new OsmiumDust());
            AddItem(new RefinedObsidianDust());
            AddItem(new LeadDust());
            AddItem(new BronzeShell());
            AddItem(new BronzePlate());
        }
        public override Vector3 GetIconViewOffset(int value, DrawBlockEnvironmentData environmentData)
        {
            return new Vector3(0f, 0f, 1f);
        }
    }
}

